package com.laoguo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import sun.applet.Main;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = {"com.laoguo.mapper"})
public class TransactionalApplication {
    public static void main(String[] args) {
        SpringApplication.run(TransactionalApplication.class,args);
    }
}
